<!DOCTYPE html>

<!--[if IE 8]> <html lang="en" class="ie8"> <![endif]-->

<!--[if IE 9]> <html lang="en" class="ie9"> <![endif]-->

<!--[if !IE]><!--> <html lang="en"> <!--<![endif]-->

<!-- BEGIN HEAD -->

<head>

    <meta charset="utf-8" />

    <title>UCC-控制中心V0.01</title>

    <meta content="width=device-width, initial-scale=1.0" name="viewport" />

    <meta content="" name="description" />

    <meta content="" name="author" />

    <!-- BEGIN GLOBAL MANDATORY STYLES -->

    <link href="media/css/bootstrap.min.css" rel="stylesheet" type="text/css"/>

    <link href="media/css/bootstrap-responsive.min.css" rel="stylesheet" type="text/css"/>

    <link href="media/css/font-awesome.min.css" rel="stylesheet" type="text/css"/>

    <link href="media/css/style-metro.css" rel="stylesheet" type="text/css"/>

    <link href="media/css/style.css" rel="stylesheet" type="text/css"/>

    <link href="media/css/style-responsive.css" rel="stylesheet" type="text/css"/>

    <link href="media/css/default.css" rel="stylesheet" type="text/css" id="style_color"/>

    <link href="media/css/uniform.default.css" rel="stylesheet" type="text/css"/>

    <!-- END GLOBAL MANDATORY STYLES -->

    <!-- BEGIN PAGE LEVEL STYLES -->

    <link rel="stylesheet" type="text/css" href="media/css/bootstrap-tree.css" />

    <link rel="stylesheet" type="text/css" href="media/css/zTreeStyle/zTreeStyle.css" />

    <!-- END PAGE LEVEL STYLES -->

    <link rel="shortcut icon" href="media/image/favicon.ico" />

</head>

<!-- END HEAD -->

<!-- BEGIN BODY -->

<body class="page-header-fixed">

<!-- BEGIN HEADER -->

<div class="header navbar navbar-inverse navbar-fixed-top">

    <!-- BEGIN TOP NAVIGATION BAR -->

    <div class="navbar-inner">

        <div class="container-fluid">

            <!-- BEGIN LOGO -->

            <a class="brand" href="index.html">
                <!--
                <img src="media/image/logo.png" alt="logo" />
                -->
            </a>

            <!-- END LOGO -->

            <!-- BEGIN RESPONSIVE MENU TOGGLER -->

            <a href="javascript:;" class="btn-navbar collapsed" data-toggle="collapse" data-target=".nav-collapse">

                <img src="media/image/menu-toggler.png" alt="" />

            </a>

            <!-- END RESPONSIVE MENU TOGGLER -->

            <!-- BEGIN TOP NAVIGATION MENU -->

            <ul class="nav pull-right">





                <!-- BEGIN USER LOGIN DROPDOWN -->

                <li class="dropdown user">

                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">

                        <img alt="" src="" />

                        <span class="username">Nofeng</span>

                        <i class="icon-angle-down"></i>

                    </a>

                    <ul class="dropdown-menu">

                        <li><a href="extra_profile.html"><i class="icon-user"></i> My Profile</a></li>

                        <li><a href="page_calendar.html"><i class="icon-calendar"></i> My Calendar</a></li>

                        <li><a href="inbox.html"><i class="icon-envelope"></i> My Inbox(3)</a></li>

                        <li><a href="#"><i class="icon-tasks"></i> My Tasks</a></li>

                        <li class="divider"></li>

                        <li><a href="extra_lock.html"><i class="icon-lock"></i> Lock Screen</a></li>

                        <li><a href="login.html"><i class="icon-key"></i> Log Out</a></li>

                    </ul>

                </li>

                <!-- END USER LOGIN DROPDOWN -->

            </ul>

            <!-- END TOP NAVIGATION MENU -->

        </div>

    </div>

    <!-- END TOP NAVIGATION BAR -->

</div>

<!-- END HEADER -->

<!-- BEGIN CONTAINER -->

<div class="page-container row-fluid">

    <!-- BEGIN SIDEBAR -->

    <div class="page-sidebar nav-collapse collapse">

        <!-- BEGIN SIDEBAR MENU -->

        <ul class="page-sidebar-menu">

            <li>

                <!-- BEGIN SIDEBAR TOGGLER BUTTON -->

                <div class="sidebar-toggler hidden-phone"></div>

                <!-- BEGIN SIDEBAR TOGGLER BUTTON -->

            </li>



            <li class="start ">

                <a href="index.html">

                    <i class="icon-home"></i>

                    <span class="title">主页</span>

                </a>

            </li>

            <li class="active ">
                <a href="javascript:;">
                    <i class="icon-bookmark-empty"></i>
                    <span class="title">配置管理</span>
                    <span class="selected"></span>
                    <span class="arrow open"></span>
                </a>
                <ul class="sub-menu">
                    <li >
                        <a href="app.html">应用管理</a>
                    </li>
                    <li >
                        <a href="service.html">字段管理</a>
                    </li>
                    <li class="active">
                        <a href="field.html">字段管理</a>
                    </li>
                </ul>
            </li>

            <li >
                <a href="index.html">
                    <i class="icon-bookmark-empty"></i>
                    <span class="title">UCC-控制中心</span>
                </a>
            </li>





            <li class="last ">

                <a href="about.html">

                    <i class="icon-bar-chart"></i>

                    <span class="title">关于</span>

                </a>

            </li>

        </ul>

        <!-- END SIDEBAR MENU -->

    </div>

    <!-- END SIDEBAR -->

    <!-- BEGIN PAGE -->

    <div class="page-content">


        <!-- BEGIN PAGE CONTAINER-->

        <div class="container-fluid">

            <!-- BEGIN PAGE HEADER-->

            <div class="row-fluid">

                <div class="span12">



                    <!-- BEGIN PAGE TITLE & BREADCRUMB-->

                    <h3 class="page-title">

                        UCC <small>关于</small>

                    </h3>

                    <ul class="breadcrumb">

                        <li>

                            <i class="icon-home"></i>

                            <a href="index.html">Home</a>

                            <i class="icon-angle-right"></i>

                        </li>

                        <li><a href="#">字段关联</a></li>

                    </ul>

                    <!-- END PAGE TITLE & BREADCRUMB-->

                </div>

            </div>

            <!-- END PAGE HEADER-->










            <!-- BEGIN PAGE CONTENT-->

            <div class="row-fluid">

                <div class="span12">

                    <div class="tabbable tabbable-custom boxless">

                        <ul class="nav nav-tabs">

                            <li class="active"><a href="#tab_1" data-toggle="tab">Field管理</a></li>

                            <li><a href="#tab_2" data-toggle="tab">新增Field配置</a></li>

                        </ul>

                        <div class="tab-content">

                            <div id="tab_1" class="tab-pane active">
                                <div class="alert alert-success alert-dismissable hide" id="show-success">
                                    <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&nbsp;</button>添加成功
                                </div>
                                <div class="alert alert-error  alert-dismissable hide" id="show-error">
                                    <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&nbsp;</button>添加失败
                                </div>
                                <div class="portlet box blue">
                                    <div class="portlet-title">
                                        <div class="caption" style="color:black;"><i class="icon-reorder"></i></div>
                                    </div>
                                    <div class="portlet-body ">
                                        <select id="select_app" name="select_app">
                                        </select>
                                        <table class="table">
                                            <thead>
                                            <tr>
                                                <td>应用名称</td>
                                                <td>字段名称</td>
                                                <td>字段类型（class）</td>
                                                <td>zk地址（path）</td>
                                                <td>字段地址（servers）</td>
                                                <td>是否使用自定义</td>
                                                <td>操作</td>
                                            </tr>
                                            </thead>
                                            <tbody id="service_list">

                                            </tbody>
                                        </table>
                                    </div>
                                </div>
                            </div>

                            <!--add service-->
                            <div id="tab_2" class="tab-pane ">
                                <div class="alert alert-success alert-dismissable hide" id="add-success">
                                    <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&nbsp;</button>添加成功
                                </div>
                                <div class="alert alert-error  alert-dismissable hide" id="add-error">
                                    <button type="button" class="close" data-dismiss="alert" aria-hidden="true">&nbsp;</button>添加失败
                                </div>
                                <div class="portlet box blue">
                                    <div class="portlet-title">
                                        <div class="caption"><i class="icon-reorder"></i></div>
                                    </div>

                                    <div class="portlet-body form">
                                        <form class="form-horizontal form-row-seperated" method="post" action="./zookeeper-create">
                                            <div class="control-group">
                                                <label class="control-label">应用名:</label>
                                                <div class="controls">
                                                    <input class="m-wrap span8 " type="text" id="appName" name="appName" >
                                                    <span class="help-inline">请在左边panel选择</span>
                                                </div>
                                            </div>

                                            <div class="control-group">
                                                <label class="control-label">字段名称</label>
                                                <div class="controls">
                                                    <input class="m-wrap span8 " type="text" id="FieldName" name="FieldName" placeholder="请输入">
                                                </div>
                                            </div>
                                            <div class="control-group">
                                                <label class="control-label">字段类型</label>
                                                <div class="controls">
                                                    <input class="m-wrap span8 " type="text" id="FieldType" name="FieldType" placeholder="请输入">
                                                </div>
                                            </div>
                                            <div class="control-group">
                                                <label class="control-label">字段zk路径</label>
                                                <div class="controls">
                                                    <input class="m-wrap span8 " type="text" id="path" name="path" placeholder="请输入">
                                                </div>
                                            </div>
                                            <div class="control-group">
                                                <label class="control-label">字段zk地址</label>
                                                <div class="controls">
                                                    <input class="m-wrap span8 " type="text" id="Fields" name="Fields" placeholder="请输入">
                                                </div>
                                            </div>
                                            <div class="control-group">
                                                <label class="control-label">是否使用当前配置</label>
                                                <div class="controls">
                                                    <input class="m-wrap span8 " type="radio"  name="useOwnServers" value="1" checked/>是
                                                    <input class="m-wrap span8 " type="radio"  name="useOwnServers" value="0"/>否
                                                </div>
                                            </div>
                                            <div class="form-actions">
                                                <button type="button" class="btn blue" onclick="create_Field();"><i class="icon-ok"></i>保存</button>
                                                <button type="button" class="btn">Cancel</button>
                                            </div>
                                        </form>
                                    </div>
                                </div>
                            </div>

                        </div>

                    </div>

                </div>

            </div>

        </div>



    </div>

    <!-- END PAGE CONTENT-->

</div>

<!-- END PAGE CONTAINER-->

</div>

<!-- END PAGE -->

</div>

<!-- END CONTAINER -->

<!-- BEGIN FOOTER -->

<div class="footer">

    <div class="footer-inner">

        2015 &copy; by <a href="https://github.com/cncduLee">百墨</a>.

    </div>

    <div class="footer-tools">

			<span class="go-top">

			<i class="icon-angle-up"></i>

			</span>

    </div>

</div>

<!-- END FOOTER -->

<!-- BEGIN JAVASCRIPTS(Load javascripts at bottom, this will reduce page load time) -->

<!-- BEGIN CORE PLUGINS -->

<script src="media/js/jquery-1.10.1.min.js" type="text/javascript"></script>

<script src="media/js/jquery-migrate-1.2.1.min.js" type="text/javascript"></script>

<!-- IMPORTANT! Load jquery-ui-1.10.1.custom.min.js before bootstrap.min.js to fix bootstrap tooltip conflict with jquery ui tooltip -->

<script src="media/js/jquery-ui-1.10.1.custom.min.js" type="text/javascript"></script>

<script src="media/js/bootstrap.min.js" type="text/javascript"></script>

<!--[if lt IE 9]>

<script src="media/js/excanvas.min.js"></script>

<script src="media/js/respond.min.js"></script>

<![endif]-->

<script src="media/js/jquery.slimscroll.min.js" type="text/javascript"></script>

<script src="media/js/jquery.blockui.min.js" type="text/javascript"></script>

<script src="media/js/jquery.cookie.min.js" type="text/javascript"></script>

<script src="media/js/jquery.uniform.min.js" type="text/javascript" ></script>

<!-- END CORE PLUGINS -->

<!-- BEGIN PAGE LEVEL PLUGINS -->

<script src="media/js/bootstrap-tree.js"></script>

<!-- END PAGE LEVEL PLUGINS -->

<!-- BEGIN PAGE LEVEL SCRIPTS -->

<script src="media/js/app.js"></script>

<script src="media/js/ui-tree.js"></script>

<script src="media/js/jquery.ztree.all-3.5.min.js"></script>

<script src="media/field.js"></script>

<!-- END PAGE LEVEL SCRIPTS -->


<script type="text/javascript">  var _gaq = _gaq || [];  _gaq.push(['_setAccount', 'UA-37564768-1']);  _gaq.push(['_setDomainName', 'keenthemes.com']);  _gaq.push(['_setAllowLinker', true]);  _gaq.push(['_trackPageview']);  (function() {    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;    ga.src = ('https:' == document.location.protocol ? 'https://' : 'http://') + 'stats.g.doubleclick.net/dc.js';    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);  })();</script></body>

<!-- END BODY -->

</html>